package de.fh.ka.as.car.routing.map;

import android.graphics.Canvas;
import android.graphics.Color;
import android.graphics.Paint;
import android.graphics.Point;

/**
 * Represents an Obstacle on the Map.
 * 
 * @author Julian
 * 
 */
public class WallMapObject extends MapObject
{

    /**
     * Init constructor of WallMapObject.
     * 
     * @param point
     *            The point Parameter represents the Position on the Map as
     *            X/-Values.
     */
    public WallMapObject(Point point)
    {
	super(point);
    }

    public WallMapObject()
    {

    }

    @Override
    public void draw(Canvas canvas, Paint paint)
    {
	paint.setColor(Color.WHITE);
	canvas.drawRect(getPoint().x, getPoint().y, getPoint().x + 20,
		getPoint().y + 20, paint);
    }

}
